
import java.util.Arrays;
import java.util.List;

public class NameListTest {
    public static void main(String[] args) {
            String names = "周美林赵义华叶爱春\n" +
                    "林帅陈林陈浩栋\n" +
                    "赵冠齐张兴李华鑫\n" +
                    "杨婷司刘涛陈兴国\n" +
                    "于金彪闫宏伟李先瑞\n" +
                    "张干周震张亚宁\n" +
                    "常瀛张刘龙吕亚丁\n" +
                    "曾嘉铭邢燕翔李文荣\n" +
                    "黄臣臣李金维俞能超\n" +
                    "孟祥宇刘青松陈伟龙\n" +
                    "黄俊朝周泽马子齐\n" +
                    "万学雯王家伟顾轶群\n" +
                    "赵邢哲杜受山金东旭叶思捷\n" +
                    "欧海明柴杨帆杨俊梓\n" +
                    "王立博郑少凡王嘉航\n" +
                    "王健浩范鹏飞高天翔\n" +
                    "张周梁胡江岸";

System.out.println("pull test");
//        List<String> nameList = Arrays.asList(names.split("\n"));
//        System.out.println("实到：" + nameList.size() + "人");

            //应到
            List<String> nameListTrue = Arrays.asList("黄臣臣",
                    "张周梁",
                    "金东旭",
                    "叶爱春" ,
                    "顾轶群" ,
                    "周泽" ,
                    "陈浩栋" ,
                    "刘青松" ,
                    "杨俊梓" ,
                    "杨婷" ,
                    "赵冠齐" ,
                    "李文荣" ,
                    "张干" ,
                    "柴杨帆" ,
                    "欧海明" ,
                    "胡江岸" ,
                    "曾嘉铭" ,
                    "陈伟龙" ,
                    "高天翔" ,
                    "张刘龙" ,
                    "王立博" ,
                    "黄俊朝" ,
                    "司刘涛" ,
                    "杜受山" ,
                    "张兴" ,
                    "林帅" ,
                    "张亚宁" ,
                    "邢燕翔" ,
                    "马子齐" ,
                    "赵邢哲" ,
                    "于金彪" ,
                    "王嘉航" ,
                    "赵义华" ,
                    "万学雯" ,
                    "叶思捷" ,
                    "俞能超" ,
                    "李华鑫" ,
                    "李先瑞" ,
                    "陈林" ,
                    "闫宏伟" ,
                    "陈兴国" ,
                    "范鹏飞" ,
                    "周美林" ,
                    "吕亚丁" ,
                    "郑少凡" ,
                    "王家伟" ,
                    "王健浩" ,
                    "周震" ,
                    "李金维" ,
                    "常瀛" ,
                    "孟祥宇"
            );
            System.out.println("应到：" + nameListTrue.size() + "人");

            int sum = 0;
            for (String name : nameListTrue) {
                int i = names.indexOf(name);
                if (i < 0) {
                    System.out.println(name);
                } else {
                    sum++;
                }
            }
            System.out.println("实到：" + sum + "人");
    }
}